<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>更新图书</title>
</head>
<body>
    <h1>更新图书</h1>
    <!-- 传递过来图书对象 -->
    <form action="/bookstore/update_book/{{ book.id }}" method="post">
        标题：<input type="text" name="title" value="{{ book.title }}" disabled> <br>
        出版社：<input type="text" name="pub" value="{{ book.pub }}" disabled> <br>
        价格：<input type="text" name="price" value="{{ book.price }}"> <br>
        零售价：<input type="text" name="market_price" value="{{ book.market_price }}"> <br>
        <input type="submit">
    </form>
</body>
</html>